Carbon


KCGetDefaultKeychain

Header: Keychain.h Carbon status: Under Evaluation

Retrieves the default keychain.

OSStatus KCGetDefaultKeychain (
    KCRef *keychain
);
keychain

On return, a pointer to a reference to the default keychain.

function result

A result code. The result code errKCNoDefaultKeychain indicates that there is no default keychain.

DISCUSSION

Your application might call the KCGetDefaultKeychain function to obtain the name and location of the default keychain.

VERSION NOTES

Available beginning with Keychain Manager 1.0.

AVAILABILITY

Under evaluation for Carbon. Available in CarbonLib 1.0 and later when KeychainLib 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by KeychainLib 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)